Downgrade to const, this is backward compatible make makes the API compatible wit more usages. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7201>