vaapi: add libva-x11 dependency.

Signed-off-by: Zhong Cong <congx.zhong@intel.com>
tests: add encoder for h264 format.

Signed-off-by: Zhong Cong <congx.zhong@intel.com>