multimedia/ffmpeg: backport a SVTAV1 fix
(cherry picked from commit 16655b80c7357694073b29f4475769e605bbbb64)