Fix a 64-bit segfault in kdenlive