Simplify tmsg output to avoid data races
Simplify tmsg output to avoid data races

Somehow by reducing tmsg calls we can avoid data races.
Still not sure why this data races occur on openmp test code.

HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit