libavcodec/smvjpegdec: pass flags / idct algo into jpeg avctx