[PATCH v4 1/4] malloc: Support testing with realloc()