Reject parametric curves with negative A, C, D, or G

Skia had even more validation, and our inversion code does some
additional checking, but for something that's used a a source, this is
the minimum to make sense (and not trigger asserts in our approximate
pow implementation).

Bug: chromium:836634
Change-Id: I7984aa7c6fa372f3010eb404bb917a9d8a804f1f
Reviewed-on: https://skia-review.googlesource.com/123623
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
6 files changed