crypto/dpaa2_sec: remove redundant checks