gdi32: Limit line drawing coordinates to reasonable values to avoid overflows.