[PATCH] gdiplus: Remove useless casts to self