Refactor: libs, tools: Expect a const char instead of a char.
The message functions don't modify these values anywhere so we can mark
them as const. My static analysis tools are now smart enough to
understand implicitly casting a char * to a const char * through the
function call, so we can just mark every one as const.