enc: make sure resolution is 16 aligned for vaSurface/vaContext
enc: make sure resolution is 16 aligned for vaSurface/vaContext

This patch is to fix android encoding driver crash when encoding
1920x1080 videos.

Signed-off-by: Zhong Li <ad6bffae321e88d39f25028f12e29bb1c91acd98@intel.com>

zhaobob/libyami,stripes416/libyami,clearlylin/libyami,chivakker/libyami,dspmeng/libyami,seanvk/libyami,01org/libyami,halleyzhao/libyami,chivakker/libyami,yizhouwei/libyami,halleyzhao/libyami,lizhong1008/libyami,andyLiuChina/libyami,dspmeng/libyami,zhaobob/libyami,lizhong1008/libyami,01org/libyami,halleyzhao/libyami,dspmeng/libyami,YuJiankang/libyami,clearlylin/libyami,01org/libyami,chivakker/libyami,stripes416/libyami,andyLiuChina/libyami,clearlylin/libyami,stripes416/libyami,andyLiuChina/libyami,YuJiankang/libyami,seanvk/libyami,yizhouwei/libyami,uartie/libyami,YuJiankang/libyami,seanvk/libyami,andyLiuChina/libyami,yizhouwei/libyami,uartie/libyami,halleyzhao/libyami,uartie/libyami,zhaobob/libyami,lizhong1008/libyami