fix alpha handling for CMYK images