examples/ipsec-secgw: fix stack smashing