crypto/dpaa_sec: improve error handling