Arrange palette with 3byte per color format
Cleanup sixel2png.c