avcodec/jpeg2000dec: Fix off by 1 error in JPEG2000_PGOD_CPRL handling