String#casecmp should be call `to_str`

This fix is compatibility for rubyspec.