io_uring: fix race condition in task_work add and clear