mjpeg: Detect overreads in mjpeg_decode_scan() and error out.