[PATCH v2 2/2] gdiplus: Validate window handle in GdipMeasureString