wayland/shm: don't crash if initialization failed
wayland: properly empty output list