simplify mem_realloc to only support growth.