Cherry-pick commit from upstream that fixes “use of undeclared identifier 'kVTCompressionPropertyKey_EncoderID'” error when building ffmpeg 6.1 on x86_64-darwin.