mjpegbdec: Fix overflow in SOS.