[PATCH 5.8 422/633] rapidio: fix error handling path