It seems like a leftover from L4D being merged into main. `sb_perf_collect` is a Left4Dead survivor bot ConVar, hence the `#ifdef TERROR`.

As you stated, this simply removes a ConVarRef warning in the console.