io_uring/rsrc: refactor io_rsrc_node_switch