refactor mrb_realloc()

remove the redundant codes with mrb_malloc_simple()
Merge pull request #1318 from Fleurer/refactor_realloc

refactor mrb_realloc() in gc.c