rehome SkColorSpace <-> skcms_Profile routines

SkColorSpace.cpp includes skcms.h, so we can define these there.

I've done a little refactoring and a little TODO sprinkling.

Change-Id: Ia2d5286600a009eafbf58f909b5cd3b48c94a91a
Reviewed-on: https://skia-review.googlesource.com/c/159221
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2 files changed