fix Random.rand(1.0) behavior
fixup! Merge pull request #1573 from int3/jruby-1_7