Some cleanups required for transfer to 1.8.4:

* Use %d format for the topo signature as some systems apparently have problems with %u
* Use correct variable in show_help message
* Fix guess_len function in printf.c when vsnprintf is available