mempool/octeontx: fix error handling in initialization