iHD: Fix h264encode segfault

Following the 21.1.3 uprev, tests running h264encode were crashing.
Applying the unmodified patch from [1] fixes this crash. See additional
discussion on upstream issue [2].

[1] https://github.com/intel/media-driver/commit/08cbe4
[2] https://github.com/intel/media-driver/issues/1189

BUG=b:191785197
TEST=Verify tast tests pass.
     tast run ${DUT_IP} video.PlatformEncoding.vaapi_h264*

Change-Id: Ib382a3bd10572c72d415aac7ee32f21566e01ca8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2987893
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Tested-by: Miguel Casas <mcasas@chromium.org>
3 files changed