Add CMYK jpeg decoding.

Apparently, there's a bunch of jpeg files floating around that have
num_components=4; this encoding is set by photoshop when the palette is
encoded as CMYK colors. It's arse-backwards, but unfortunately cleaning
up after this crap is the best approach, I think.