Fix default argument error message transformation for jruby and rbx