gdi: fix path segments drawing
gdi: fix path segments drawing

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=64698

fgouget/spice-common,freedesktop-unofficial-mirror/spice__spice-common,Fantu/spice-common,SPICE/spice-common,freedesktop-unofficial-mirror/spice__spice-common,fgouget/spice-common,fgouget/spice-common,SPICE/spice-common,SPICE/spice-common,Fantu/spice-common,fgouget/spice-common,freedesktop-unofficial-mirror/spice__spice-common,Fantu/spice-common,freedesktop-unofficial-mirror/spice__spice-common,Fantu/spice-common