Merge branch 'feature/jorgen.lind/fix_lossless_w_co' into 'master'

Fix lossless wavelet compression when the diff mask is constant.

See merge request !733
9 jobs for !733 with feature/jorgen.lind/fix_lossless_w_co into master in 35 minutes and 13 seconds (queued for 40 seconds)
latest