Remove Thread hack for Ruby 1.9

The hack so skip a Thread test for Ruby 1.9 can be removed now that
Rails requires Ruby >= 2.0.