Fix Surface::set_opacity() in software mode (fix #379).