As evidenced by #138868, checking all colorspaces to see if they are sRGB can be very slow, due to loading all LUTs into memory. Instead use a simpler check by a list of names only, which is still better than the hardcoded single name used in Blender 4.4. Ideally recent configs will use the ColorInterop Forum alias so we can find the sRGB colorspace reliably.