Keysym_to_ANSI(): fix uppercase letters and keypad numbers for SDL2
When building with USE_SDL2, Keysym_to_ANSI()
doesn't work properly, and keys like Shift-X (when stretching brushes) or Keypad 4 (when rotating brushes) were not properly handled.