[kdenlive] Add build fix for gcc-7 changes