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