[ruby-core:124169] [Ruby Misc#20774] Remove remaining locale dependent code from Windows port