mem: fix real_used stats for realloc