Correct optimization of images with some transparency.

Tom Roostan reported this bug, which was introduced in
b2fa1d52b3979945a3439c0c3d0534a5328a7649. It is time to have a
regression suite; many Gifsicle bugs would not have been caught
by regression tests, but this one would have.
To 1.78.