gstreamer-gi: support GstTagForeachFunc callback