thorium: print type of message in message_print

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>