Optomechanical spin control of nitrogen-vacancy centers in diamond