Fix bug #12464 with test for giflib 5.0.0 on MS-Windows.