Merge "DO NOT MERGE Add bound checks to utf16_to_utf8" into lmp-dev