Remove Ruby 1.8.7 support remains

The HAVE_RUBY_ENCODING_H check was here to ensure compatibility with
Ruby 1.8.7 so this is not needed anymore.