gradient-angle: Fix incorrect NaN checking of last colorStop angle.