Duplicate version comparisons

Pre-2.0 Rubygems, the argument passed to `Gem::Version.new` would be
modified, resulting in frozen exceptions.