Refactor: tools: Take pcmk_resource_t in cli_resource_fail()
Note that pe_find_resource() is equivalent to
pe_find_resource_with_flags() with flags set to pcmk_rsc_match_history.
rsc is non-const because we access the scheduler through it. node can
become const again.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>