ruby.c: use UTF-8 for loadpath as the fallback

* ruby.c (ruby_init_loadpath_safe): encode loadpaths in UTF-8 on
  Windows.  [ruby-core:62002] [Bug #9737]

* ruby.c (process_options): try encode loadpaths to locale
  encoding from UTF-8 if possible, on Windows.