io_uring: add a {task,files} pair matching helper