Refactor mrb_realloc() func in gc.c.

It is ambiguos that a variable is 0 or 1.