Parse an available query and get the allocator and its params at index of the allocator array.
| this |
a GST_QUERY_ALLOCATION type query Query |
| index |
position in the allocator array to set |
| allocator |
new allocator to set |
| params |
parameters for the allocator |