[PATCH 5.4 257/408] rapidio: fix error handling path