This gets rid of a compile time warning about deprecated functions.
XkbKeycodeToKeysym has been around since at least X11R4 in -lX11.
I wonder if we should just do a straight change and not worry about detecting
it with autoconf.