[macruby-changes] [MacRuby/MacRuby] 611c2e: avoid to use a RB_TYPE_P(). fix #1477 and #1482