[PATCH] d2d: Suppress last empty segment also for D2D1_FIGURE_END_OPEN