Fix some typos in gradient code
Pull request: https://github.com/WebKit/WebKit/pull/2577
Committed 252833@main (fca37e65b986): <https://commits.webkit.org/252833@main> Reviewed commits have been landed. Closing PR #2577 and removing active labels.
<rdar://problem/97614518>