fix bug: voice recognition input crash on ios7

https://github.com/cocos2d/cocos2d-x/pull/5263
for V2.x