ipc/sem: separate wait-for-zero and alter tasks into seperate queues