Fix parameter passing to procified method. JRUBY-6763.