avcodec/qpeg: Limit copy in qpeg_decode_intra() to the available bytes