cmMessenger.cxx: Replace `printMessagePreamble` → `getMessageTypeStr`

According to the compiler explorer the `getMessageTypeStr()` much shorter
and faster (as table lookup).
1 file changed