avcodec/mjpegdec: Fix small picture upscale