avcodec/mjpegdec: Fix undefined shift