examples/ip_pipeline: fix buffer overrun