Re-exports core::str::Utf16CodeUnits in std::str

Closes #17751
auto merge of #17840 : Sawyer47/rust/issue-17751, r=huonw

Closes #17751