libgdiplus: fix build with current giflib