cleanup: reduce scope of a variable in xmssed.cpp