examples/ipsec-secgw: fix access to freed packet