Refactor: tools: Set scheduler flags explicitly in wait_till_stable()
pcmk__schedule_actions() has a use-after-free bug if its cib argument is
the same as the current scheduler->input (or if it's an ancestor or
descendant). This is another step toward dropping that argument.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>