gdi32: Add helper functions for manipulating bounds rectangles.