Log: scheduler: show flag name when clearing action flags in more places
The pe_action_implies() macro was the last caller of
pe_action_set_flag_reason(), so re-implement it as the former body of that
function, and move it to the only file that uses it.
This shows the flag name in the trace message.