Refactor: various: Replace strdup() with pcmk__str_copy()
In daemons and in some purely internal code where the allocated object
matters (for example, is not just for logging).
Other uses of strdup() in library code can be addressed as appropriate
during best practices work.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>