[kdenlive/f34] Fix startup crash on Wayland (rfbz#5945)