Merge "Add bound checks to utf16_to_utf8"