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