[qt5-qtwebengine-freeworld] Fix build with FFmpeg 3.5 (apply conditionally because it breaks older FFmpeg)