gi: remove needless RUBY_T_* check

We had dropped Ruby 1.8 support.