Apply the patch from arakiken which prevents to seek STDIN
http://mlterm.sourceforge.net/libsixel-fixstb.patch
Add some statements that print error messages
Free palette image
Merge branch 'develop' into fix-stdin-fseek-problem
Read and discard stdin data only when fseek failed
Change end of line style of some files, CRLF to LF
Strip trailing spaces