io_uring: add task-refs-get helper