jpeg2000dec: Check compno in get_coc()