Switch API from PRUnichar to char16_t, to be compatible with upstream API