user32: Set last error in WIN_GetRectangles.