Fixes some bugs with print formatters that clang reports, but gcc doesn't

Just changes some print formatters.

Note that clang gives us a bunch of warnings about qthreads code that I shared
with the qthreads team. These were the only ones in "our" source and not in
qthreads proper