vd_lavc: fix a deprecated warning.

Make use of av_pix_fmt_get_chroma_sub_sample instead of
the old avcodec_get_chroma_sub_sample function.