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