Note on the suppression of transient shear-flow instability by a spanwise magnetic field