Introdue vaLockBuffer APIs in libva.
Enable zero buffer copy method for wayland VDA.

1080p video playback is quite unsmooth on VTC-1010, with only 15 render
fps and ~70% CPU usage. Root cause is current code spend too much time to
put output vasurface to GL texture for more than 25ms for each
frame, due to buffer copy between driver and user space. As a result,
GPU swap buffer operations are not executed timely and then blocks
render side composting.

This CL enables a zero buffer copy solution that will put vasurface to
CL texture inside GPU process. It creates an EGL image through
EGL_DRM_BUFFER_MESA target, then binds the EGL image to GL texture.
The CL also checks the libva apis support, if libva doesn't support required
apis, we can still use previous method.

Local test result shows proposed method gets 31 render fps and ~25% CPU usage
for 1080p playback.
It also benefits other resolution video playback.

BUG = XWALK-2069