fsl/fman: fix error handling