examples/l2fwd-crypto: fix possible out-of-bounds