Port the old gst-discover example to 1.0 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5187>