libopenjpegdec: respect JP2 color space, fix ticket 1179