Fix build failure in gst_clear_* functions due to pointer type mismatches
Fix a failure to build due to incompatible pointer types.
- Adds cast to
GstMiniObject **
where needed - Remove volatile from arguments
g_clear_pointer
is not thread-safe and never was. GLib similarly removed the volatile from g_clear_object.
Edited by Sebastian Dröge