mjpeg_decode_scan: reset restart state