[tracker] Rename PrintGifError to print_gif_error and use it