Log: daemons: improve client name used in log messages
Improve the output of pcmk__client_name(), and always use it in log messages
instead of client->name (or some variant) directly, for consistency and NULL
safety.
While we're at it, use the proper inttypes macros when logging stdint types
in those messages.