RUBY-710 Get rid of unused variable warning in c ext