The levels and profiles probe function returned a dynamically allocated GValue that was leaked. Simplify this by using a stack allocated GValue and a boolean return value. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/599>