JDK-8321514 UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled