wayland/outputinterface: fix crash

The current mode may be nullptr

Merge request reports

Loading