Fixed https://github.com/jruby/jruby/issues/1486

Unfortunately, seems like now comparing two fixnums will incur a regular
ruby object comparison overhead. But that seems unavoidable when we want
to allow to override behavior of even core classes.