gdiplus: Rewrite GdipDrawString to share code with GdipMeasureString.