Refactor obj_is_instance_of() in kernel.c
Refactor mrb_obj_is_kind_of_m() in kernel.c
Merge pull request #2580 from suzukaze/refactor-kernel.c

Refactor kernel.c