[osx] - for osx shortcuts look at the unicode character instead of the k...

...eysymbol if possible - fixes #15328

This fixes wrong shortcuts when using non qwerty layouts (like dvorak).

Gotham material if there is the aim for 13.3
I think a comment as to why you'd want to do this would be useful.

(use unicode character if it represents an ascii char?)