wayland: Fix xdg_shell build

(cherry picked from commit 0034468670846175c9e72ce6525301ab95348f00)