fixed #2149: Adding const qualification to some CCNode's getters