Update libgdiplus' giflib patch to work with 5.1.0

closes issue #4469