Use a template to simplify repetitive code in ColorSpaceCG.cpp
Created attachment 420027 [details] Patch
Committed r272746: <https://trac.webkit.org/changeset/272746>
<rdar://problem/74248835>