crypto/dpaa_sec: add check for segmented buffer