[tracker] fix error reporting for our old giflib

This will break when we update giflib