Reland "Make SkTArray grow only"
Reland "Make SkTArray grow only"

This is a reland of commit 83479737a5c969c080d3cdf15c37ef4982877765

Added a cast to the comparison.

Original change's description:
> Make SkTArray grow only
>
> This is an experiment to make general allocations in SkTArray only
> grow the allocation. This will match the behavior of other vector
> like containers. Because there is no shrinking, fReserved is
> no longer needed. Remove it.
>
> * Improve the checking for overflow.
> * Fix up casts associated with fCount.
>
> Change-Id: I4bb573622de6a8cce3a7bb2763b8aaa45fb5b39d
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/592541
> Reviewed-by: John Stiles <f4fcf42d3bb5924557f1eeb3be66747535e585da@google.com>
> Commit-Queue: Herb Derby <9e12a3d2bbf73546e47cc9958f6ba8f3215b7eaf@google.com>

Change-Id: I7de72d2cda8cc8c1de421f6918360649d240c5ee
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/593222
Commit-Queue: Herb Derby <9e12a3d2bbf73546e47cc9958f6ba8f3215b7eaf@google.com>
Reviewed-by: John Stiles <f4fcf42d3bb5924557f1eeb3be66747535e585da@google.com>

google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia