Don't write to RBasic::klass

Ruby 2.1 will make `RBasic::klass` read-only as part of the RGenGC work.

Currently, this gem fails to compile against Ruby trunk. This pull request fixes the compilation failure by deleting the code path that writes to `RBasic::klass`.