compositor-drm: Set cursor surface to NULL when pageflip fails
compositor-drm: Set cursor surface to NULL when pageflip fails

If we VT switch away between  picking a cursor surface and actually doing
the pageflip in drm_output_repaint(), we never set output->cursor_view to
NULL.  Then we unplug all the input devices and as the last pointer device
goes away we destroy the cursor surface.  Then when we switch back, we
call drm_output_set_cursor() with an invalid surface and crashes.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73566

Tarnyko/weston-xdg_surface_present,kwm81/weston,udoprog/weston,xorgy/weston,Fantu/compositor-spice,krezovic/weston,eyolfson/weston,eyolfson/weston,xorgy/weston,Fantu/compositor-spice,Tarnyko/weston-xdg_surface_present,mchalupa/weston,sir-murray/weston,Gnurou/weston,udoprog/weston,kwm81/weston,mchalupa/weston,sir-murray/weston,krezovic/weston,giucam/weston,Gnurou/weston,giucam/weston,jonnylamb/weston,jonnylamb/weston,Fantu/compositor-spice