avcodec/jpeg2000: Fixes integer overflow in ff_jpeg2000_ceildivpow2()