Fix build for GIFLIB versions 5.1 and higher



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37293 b3059339-0415-0410-9bf9-f77b7e298cf2