clamp intra matrix to 8bit for mjpeg (workaround for qscale>=25)