This is needed for things like BaseTransform.OnTransformIp's buffer parameter. During the call we own the reference but not afterwards.
We unfortunately need to do this to properly generate bindings for GstMiniObject...