avcodec/mjpegdec: fix width for non chroma in rescaling