fix shortcuts with consumed modifier on non-Latin layouts
If shortcut modifier is consumed we still need to do layouts hopping to
produce consistent shortcut across the layouts.
Also fix non-Latin layouts shortcuts test for consumed Shift case.
The tests updated to cover class of problems referenced in BUG: 453661.
The problem was reported upstream and a fix provided there:
https://bugreports.qt.io/browse/QTBUG-108761
Edited by Andrey Butirsky