fix compile error when CC_SPRITE_DEBUG_DRAW
Merge pull request #8174 from lite3/v3

fix compile error when CC_SPRITE_DEBUG_DRAW