io_uring: add a helper for setting a ref node