lavc: fix avcodec_find_best_pix_fmt() when there's more than 64 pixel formats