Refactor mrb_f_array func
Merge pull request #2612 from suzukaze/refactor-mrb_f_array

Refactor mrb_f_array func
instance_methods etc should not include undef'ed method names; based on a patch from @cremno; fix #2613