leak-detective: remove hdr from the allocation list during realloc()