crypto/dpaa2_sec: remove unnecessary check