Fix hidden bug in stock ruby's rb_feature_p, exposed by 'sorted LOADED_FEATURES'

Corresponding pull request to stock ruby https://github.com/ruby/ruby/pull/63