Fix issue with jpegtran and RGB/CMYK colorspaces
Fix issue with jpegtran and RGB/CMYK colorspaces

Fixes issues #23 #24 #31
Note that the original jpgcrush script optimizes scans only for YCbCr
and grayscale color spaces. Scan optimization is thus disabled for RGB
and CMYK color spaces and behavior reverts to the fast mode of jpgcrush
which uses predefined scans

bygreencn/mozjpeg,ekandrot/mozjpeg,billychappell/mozjpeg,billychappell/mozjpeg,m-2k/mozjpeg,bygreencn/mozjpeg,billychappell/mozjpeg,zhoujianhanyu/mozjpeg,bygreencn/mozjpeg,ekandrot/mozjpeg,m-2k/mozjpeg,m-2k/mozjpeg,billychappell/mozjpeg,zhoujianhanyu/mozjpeg,zhoujianhanyu/mozjpeg,bygreencn/mozjpeg,ekandrot/mozjpeg,ekandrot/mozjpeg,billychappell/mozjpeg,ekandrot/mozjpeg,m-2k/mozjpeg,bygreencn/mozjpeg,m-2k/mozjpeg,zhoujianhanyu/mozjpeg,zhoujianhanyu/mozjpeg