thorium: add debug message when cleaning the message cache

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