Refactor mrb_range_beg_len() func in range.c
Merge pull request #1343 from suzukaze/refactor-range-c

Refactor mrb_range_beg_len() func in range.c