[ruby-core:127205] [Ruby Feature#22463] Improve String#index and line splitting performance on x64-mingw-ucrt