gdiplus: Implementation of GdipPathIterGetSubpathCount with tests.