[PATCH v9 2/4] gdiplus: use iterator instead calculate pointer position every time