Conditionally define respond_to?/respond_to_missing?

I tried doing the same thing with alias_method/undef_method but it
caused errors on JRuby.
Ruby 1.8, JRuby, and Rubinius do not print an indication of blocks