gdi32: Avoid redundant computation of the gradient bounding rectangle.