API: libcrmcommon: drop was_processing_warning global
Replace it with a new scheduler flag internally. (The error and warning flags
are not sequential values, which is less than ideal, but that will be easier to
straighten out after other planned changes.)
This breaks API backward compatibility.