net/dpaa2: fix bad check for not-null