crypto/dpaa2_sec: improve error handling