[telegram-desktop/f36] Fixed build against ffmpeg 5 (if enabled).