Correct missing endif in mockdiameterstack.hpp