fixed a bug in jp2_read_ihdr (need to allocate jp2->comps)