Newer giflib defines the EGifOpen correctly. Prevent build failures
by making its redefinition conditional on presence of the EgifOpen
function declaration.