cursor: unset wlr_output_cursor.texture on surface destroy

Simon Ser requested to merge emersion/wlroots:cursor-surf-fixes into master

When the surface is destroyed, its current wlr_texture is about to get destroyed as well. Reset wlr_output_cursor.texture to prevent use-after-free.

Closes: #3652 (closed)

Merge request reports