Fix tfw_str_add_compound()

In case of a TFW_STR_COMPOUND string we reallocate memory to add space
for an extra TfwStr. However the root TfwStr was still pointing at the
original memory block which leads to memory corruption. Fix that.