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