matroskadec: check realloc in lzo encoding