gfxlib|rtlib: fix warning: 'XKeycodeToKeysym' is deprecated