Log: scheduler: reimplement warn-once macro
... using pcmk__set_flags_as() instead of using set_bit(), which improves trace
messages like:
Bit 0x00001000 set by some_function:100 to: Warn-once flags 0x00000008 (pe_wo_poweroff) for logging set by some_function:100