ipsec: fix coverity warnings found in fast path implementation