[PATCH 4.9 076/139] rapidio: fix error handling path