resize_inplace() sets utf8_length to zero if the utf8 is not shared8

Cleanup also the code.
1 file changed