The operator went through quite a bit of trouble to pass a color attribute index to the operator, but then it always used the offset from the first layer of the active color attribute's type. Also remove the "copy domains temp" API function, which generalized this more than necessary, and exposed the internals of the custom data system a bit more than we would like.