Make JRuby's RubyTime argument checking be same as MRI

This should fix https://github.com/jruby/jruby/issues/1501