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.
10 jobs for master in 2 minutes and 34 seconds (queued for 1 second)