Fix error handling for mrb_pool_realloc().

`mrb_pool_alloc()` may return `NULL`.