iDQ: Patch several memory leaks
Patch several sources of possible mem leaks in the C integrator element:
- Recycle queue mem usage instead of malloc-ing new memory for every new item pushed to head
- Free buf_vector for every buffer and not in finalize b/c it is malloc-ed for every buffer.
- Free both queue and queue items in finalize. Previously only queue was being freed.