vda: Add hwaccel1.2 support

The global context setup are proper av_ namespaced functions,
the frames are properly refcounted and the output is fixed to
UYVY.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>