Temp fix for #138

Disable scan optimization and trellis quantization when arithmetic
coding is used