Replace int with mrb_bool in local_var_p func
Merge pull request #2622 from suzukaze/fix-local_var_p

Replace int with mrb_bool in local_var_p func