[PATCH 3/3] gdiplus: Fix GdipAddPathCurve3 curve calculation with offset and nseg variables