[graphite] Apply a swizzle to image sample calls for formats that need it

- Add new ReadWriteSwizzle file which enumerates expected read/write swizzle types. This allows for a more compact way to reference different swizzles.
- Add read swizzle enum into image shader so it can apply it to sample calls
- For alpha-only color types, concatenate the swizzle with "aaaa".
- Relate & enforce a relationship between the readswizzle enum and const integers defined in SkSL.
- Add an SkSL helper method which can take in an integer (representing a swizzle type enum value) and apply the correct swizzle to a passed-in color.

Change-Id: I362481a88ae0e2416a91655bb69ee81a93f70796
Bug: b/255978448
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/629536
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Nicolette Prevost <nicolettep@google.com>
11 files changed