mrb_raisef takes mrb_value as arguments.
fix RSTRING_PTR usage.