libopenjpegdec: check existence of image component data