use realloc instead of malloc for CSlim_ConcatenateString