rapidio: fix an API misues when rio_add_net() fails (CVE-2025-21934) | HOL Guard CVE