Virginia governor hangs on amid outcry over racist photo