lavc: fix support of unofficial pix_fmt extensions of jpeg