The API for giflib changed slightly - added function check in m4 test

FontForge developer list still indicates a problem with giflib.
See [Fontforge-devel] Bug report: Failing to build, Aug 18,2013