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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fate: fix smvjpeg test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>