Auto merge of #1097 - rlhunt:gradient-align-condition, r=kvark
Auto merge of #1097 - rlhunt:gradient-align-condition, r=kvark

Fix the condition for using aligned gradients

The condition for using aligned gradients was not updated when the start
and end positions were made relative to `rect`. This was causing test
fuzzy failures from a mismatched aligned and angle gradient shaders.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1097)
<!-- Reviewable:end -->

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender