Magnetic shear-flow instability in thin accretion discs