Introduce vaLockBuffer APIs in libva.