dump: fix build by adding missing include

The commit "ugtrain: move the dynmem object dump to new files" has
broken the build. So move the missing include as well.
ugtrain: move the value output to new files

src/valoutput.cpp
src/valoutput.h

Functionality is exactly the same.