ffmpeg: update patch for x265 1.0

Updated patch from upstream for compatibility with x265 1.0 (#28924).

See: #28489