Refactor: various: Use pcmk__if_tracing() in more places
Closes T559
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>