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 read |
| allocator |
variable to hold the result |
| params |
parameters for the allocator |