Resolves: fdo#41169 fix MacOSX non-Latin keyboard layout with Latin shortcuts

Change-Id: I168de52d6185d5df9c41fd2d7a68c0ff3f733852
(cherry picked from commit 82b5172954261e030a42bd6b3f4acc99807d0ee5)
Reviewed-on: https://gerrit.libreoffice.org/6798
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>