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 v5.10.163 by commit 88fa351b20ca300693a206ccd3c4b0e0647944d8, it was introduced in version v4.6 by commit e8de370188d098bb49483c287b44925957c3c9b6. For more details please see the references link.