Scanline decoding for wbmp

We are also changing the wbmp to use SkSwizzler.  This
will allow us to take advantage of the sampling routines
that are being implemented in SkSwizzler.

The image in this upload came from:
https://commons.wikimedia.org/wiki/File:Android_robot.png

It is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.

BUG=skia:

Review URL: https://codereview.chromium.org/1254483004
diff --git a/src/codec/SkCodecPriv.h b/src/codec/SkCodecPriv.h
index 90b1632..0c45fdd 100644
--- a/src/codec/SkCodecPriv.h
+++ b/src/codec/SkCodecPriv.h
@@ -31,6 +31,13 @@
     SkSwizzler::GetResult(zeroAlpha, maxAlpha);
 
 /*
+ * If there is a color table, get a pointer to the colors, otherwise return NULL
+ */
+static const SkPMColor* get_color_ptr(SkColorTable* colorTable) {
+     return NULL != colorTable ? colorTable->readColors() : NULL;
+}
+
+/*
  *
  * Copy the codec color table back to the client when kIndex8 color type is requested
  *