Draft: Basop 2402 simplification of arithmetic codec subfunctions
This MR should improve the complexity of the arithmetic codec. It uses simplified integer MSU operation (32x16) instead of multiple operations. All modifications must remain bit-exact to the legacy code.