Fix #386: JVET-O0272 with alignment between SW and text and one corner case bug fixed
Changed the range of the encoder checks in SW from [0, 15] to [lmcs_min_bin_idx, LmcsMaxBinIdx] as an alignment between SW and text. We also found a corner case that was not well addressed in the previous version. This ticket provides the correct LMCS pivots adjustment for that corner case. All of the changes are encoder only, and it shows no impact on CTC.
see ticket https://jvet.hhi.fraunhofer.de/trac/vvc/ticket/386