Apply const to some functions in Gif_Unit.h

Just some const correctness. Also minor cleanup (`CanDoGif() == 1` -> `CanDoGif()`)