Fix Process.coerce_rlimit_resource for String argument on X19

* MRI accepts String as resource name on Process.(r|s)etrlimit argument.

When passed resource name.

* Don't use #to_sym. Use #is_a? or #kind_of? for check Symbol.
* Use #to_str for check String.