ccsao non-ctc bug fix
The codes of CCSAO introduce several bugs in non-CTC condition as follows:
- If turn off SAO by configuration, there are encoder-decoder mismatch;
- If turn off Bilateral filter by configuration, decoder crashes;
- If both turn of SAO and Bilateral filter by configuration, encoder crashes. This commit is to solve these problems.