[lightspark] Fix build with ffmpeg 4.5