Refactor: libpacemaker: Toggle output display in pcmk__pacemakerd_status
Printing the state from within pcmk__pacemakerd_status() is convenient
if we want to output any state. However, some callers will only want to
print certain states. We already pass the state back to the caller. Now
the caller can use that to control which states get output.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>