Critical-layer instability of shallow-water magnetohydrodynamic shear flows. (25th July 2022)