make gray8 support uniformly weird

SkRasterPipeline's support for gray8 is a bit odd.  Loads are done
directly, but stores are done using luminance_to_alpha and alpha stores.

Since we kind of need that idosyncratic luminance_to_alpha code anyway,
might as well commit to the gray-via-alpha strategy all the way.  This
replaces three somewhat complicated stages with two simple new ones.

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