compositor: Conditionalize some more Wayland support