Apply patch, requested by riz in ticket #1877
	xsrc/external/mit/libX11/dist/src/xkb/XKBNames.c	patch

The size of the arrays is max_key_code + 1. This makes these functions
consistent with the other checks added for CVE-2013-1997.
Check the XkbGetNames reply when names->keys was just allocated
Should fix PR lib/48170.