Fixed|libgui|X11: Replaced use of deprecated XKeycodeToKeysym

Using solution from:
https://stackoverflow.com/questions/9838385/replace-of-xkeycodetokeysym

IssueID #1904