Micro optimisation: Store the quark of the type name when tracking objects and only do the quark to string conversion (hashtable lookup) later when we actually need the string. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2832>