* ccl.c: Improve and simplify overflow checking (Bug#9196).