[PATCH v4 1/6] gdiplus: Fix GdipGetImageBounds result in case Graphics is deleted