SERVER-8598 fix compile duplicate it in d_state.cpp