Port of https://skia.googlesource.com/skia.git/+/3a49520696b2eca69e57884657d23fd2402ccfd1 to M38 branch.

Sanitize SkMatrixConvolutionImageFilter creation params.

Apply the same memory limit in the Create() function that we do when
deserializing.

Author: senorblanco@chromium.org

Review URL: https://codereview.chromium.org/610723002

BUG=skia:
TBR=reed@google.com

Review URL: https://codereview.chromium.org/612483005
3 files changed