Merge "libutils: Improve performance of utf8_to_utf16/utf16_to_utf8" into main