[kdenlive] Use modern cmake macros and disable LTO (rfbz #5733)