Stabilization of Resistive Wall Modes by Magnetohydrodynamic Equilibrium Change Induced by Plasma Toroidal Rotation