Move clip3 function to utils.py
Move global variables CuQpDeltaVal/IsCuQpDeltaValCoded from CU level to CTB level.