examples/ip_pipeline: fix size of allocated memory