Fixed compile error with CC_REF_LEAK_DETECTION

If I set CC_REF_LEAK_DETECTION to 1, it errors with "CCRef::printLeaks()" (no declartion)

Renamed old stuff name CC_USE_MEM_LEAK_DETECTION to CC_REF_LEAK_DETECTION.