Piotr Caban : gdiplus: Add write_region_data helper and use it in GdipGetRegionData.