-fix keyboard "done" button bug in android

this is the fix for
https://github.com/cocos2d/cocos2d-x/pull/7525
(sorry for creating new request, this is my first time to use pull request ^^")

-fix a bug when pressing "done" button of the keyboard in android, it closes the keyboard directly so that IMEDelegate have no chance to verify if the input text is correct