Check bounds before casting float to integer in SamplePatch.cpp and SkBlurMaskFilter::CreateEmboss.

BUG=skia:4632
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1693013002

Review URL: https://codereview.chromium.org/1693013002
2 files changed