xkb: Avoid length-check failure on empty strings.
_XkbCheckRequestBounds
assumes that from
..to
is at least one byte.
However, request strings can be empty, causing spurious failures in
XkbGetKbdByName
calls. To avoid this, before checking bounds make
sure that the length is nonzero.
Edited by FeepingCreature