[PATCH 06/19] wait_task_inactive: treat task->state and match_state as bitmasks