rapidio: fix possible name leaks when rioadddevice() fails
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.16 by commit c413f65011ff8caffabcde0e1c3ceede48a48d6f, it was introduced in version v4.6 by commit e8de370188d098bb49483c287b44925957c3c9b6. For more details please see the references link.