vnc: factor out vnc_update_server_surface