Avoid using invalid OSL ShaderGroups.