libva-intel-driver: fix i965 encoder wrong bits shift operation
libva-intel-driver: fix i965 encoder wrong bits shift operation

shift uint32_t by 32 bits is undefined behavior.

For this particular case: when invoke avc_bitstream_put_ui() with 32
bits value at byte position of multiple of 4, existing 32 bits garbage
data in the buffer may be retained instead of cleared. The result is,
the position of NALU start code (0x00000001) looks like overwritten by
garbage value.

Patch has been tested and used upstream:
https://chromium-review.googlesource.com/#/c/410541/

Signed-off-by: Kuang-che Wu <3459da914636082bf719c966e5ccf07342eba8c5@chromium.org>
Signed-off-by: Sean V Kelley <2e220d3765e3e059981b3c8d241463f952b3ee5f@posteo.de>
Reviewed-by: Xiang, Haihao <8d677183e5993577d4fa73a419b76987913292d6@intel.com>

01org/iotg-lin-gfx-va-driver,01org/iotg-lin-gfx-va-driver,01org/iotg-lin-gfx-va-driver,01org/iotg-lin-gfx-va-driver,01org/iotg-lin-gfx-va-driver