avcodec/mjpegdec: Improve intel jpeg flip heuristic