gdiplus: Properly set the gdi+ format to match the wic encoder's format.