Let's be defensive and use `frozenset` from Python to avoid changing global variables during the runtime (or any static part of code). Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30526>