Bound the size of debug messages.

Change ?sprintf to ?snprintf in do_debug.

This fixes Neil's segfault. _MAKEFLOW_COLLECT_LIST gets immense, which
was bothering vsprintf.