Remove cruft from stm_lib_giflib.m4. It still needs documentation,
though.
Replaced a mistaken AC_LINK_IFELSE with the correct AC_COMPILE_IFELSE.