radeon: Add cropping to encoded H.265 when padding is used
Because the VCN encoder needs the surface to be memory aligned, the resolution of the image passed to the encoder might be larger and have extra padding added - this change crops the resulting output to compensate for the extra padding that might have been added.
Closes: #4559 (closed) Signed-off-by: Thong Thai thong.thai@amd.com