queue: queue2: Work around valgrind reporting leaked pad template