optimize get_valid_iv_sym

In this case, `mrb_intern` is more efficient than `mrb_intern_cstr`.