Electromagnetic effects in the stabilization of turbulence by sheared flow