add const to encodePixels pixel parameter

BUG=skia:

Review URL: https://codereview.chromium.org/788143007
6 files changed