[sr-dev] git:sr_3.0: mem: fix real_used stats for realloc