vd_lavc: Support hwaccel 1.2 and later

Hwaccel 1.2 populates only the third data field and assumes
that the AVCodecContext is available to the dealloc function.
vda: Simplify codec selection

VDA supports h264 only.
vda: Hwaccel 1.2 support

Use the new context and the default functions provided.