rawdec: fix mjpeg probing buffer size check