Switching-current shift in spin Hall effect with perpendicular magnetic field