Fixed SAO cost checking, disabling SAO when RD-cost is 0

Decreases overall BD-rate a bit more, this fix prevents coding zero offsets to the bitstream