fixed #1747: Crash occurs when passing null to cc.AnimationFrame.initWithSpriteFrame.
Merge pull request #2039 from dumganhar/iss1747-jsb-animation

fixed #1747: Crash occurs when passing null to cc.AnimationFrame.initWithSpriteFrame.