sched: add macros to define bitops for task atomic flags