This avoids some duplications and makes the DRM info available in more places, which will help with future changes. Also fix some error messages while on it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8028>