Simplify the while loop in NodeGradient::resolve()
Simplify the while loop in NodeGradient::resolve()

Make it better match the structure of the same loop in NodePattern::resolve()

GNOME/librsvg,GNOME/librsvg,GNOME/librsvg,GNOME/librsvg