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