Remove CultureInfo.CurrentCulture dependency from ordinal based string::EndsWith. Fixes #13509