Don't test -D option(pipe mode) in wine environment
Fix pipe-mode test for mingw build
Separate convert_sixel into 3 functions
Add tests for applying vt340 built-in palette