[pdf] Avoid Skia color profile on single channel images

Adobe Reader takes issue with the color profiles produced from
SkColorSpace when applied to single channel images. While this is
investigated, disable embedding such color profiles on single channel
images.

Bug: chromium:1523360
Change-Id: I7039e3ebf0644679d9b024a84b6f4e72b009987b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/807597
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
1 file changed