entropy: pass context model (state) to bitsCodeBin as uint32_t

Should be slightly more efficient
nr: fix denoise offset memcopy size