Fix ccCArray
Merge pull request #2538 from FlowerpotGames/ccCArray-Fix

fixed #2127: Fix for broken of ccArrayGetIndexOfObject after merging this commit(076f38c).