ADT: Avoid relying on UB in ilist_node::getNextNode()