xfrm: Add security check before flushing SAD/SPD