CCRepeat bug fix with repeat count == 99

When we set repeat count to 99 inner action is not correctly finished.
Refer: http://www.cocos2d-x.org/forums/6/topics/46503