fix SK_LEGACY_ENCODE_BITMAP missing cast

BUG=skia:
TBR=
NOTRY=True
NOTREECHECKS=True

Review URL: https://codereview.chromium.org/815223002
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 921fbdf..d110e29 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -472,7 +472,7 @@
         // Required by signature of EncodeBitmap.
         size_t unused;
         SkBitmap bm;
-        bm.installPixels(info, pixels, rowBytes);
+        bm.installPixels(info, const_cast<void*>(pixels), rowBytes);
         return fEncoder(&unused, bm);
     }