[PATCH v3] gdi32: Avoid exceeding the actual bitmap height.