leaks: Allow passing a GstStructure to configure the tracer