vaapicontext: check profile before create vacontext
vaapicontext: check profile before create vacontext

1. Check profile compatible before create vacontext
2. For h264, driver may declare support higher profile but don't support
lower profile. In this case, higher profile should be created

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

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