gtk3: remove code for Ruby 1.8

We don't support Ruby 1.8.