mjpeg: propagate decode errors from ff_mjpeg_decode_sos and ff_mjpeg_decode_dqt