allow Gray and RGB profiles to be equal

We really just need to distinguish Gray/RGB from CMYK.

Bug: oss-fuzz:24430
Change-Id: I8d4c55eea9734bba53c3d238d32cc6e60f551704
Reviewed-on: https://skia-review.googlesource.com/c/skcms/+/306979
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2 files changed