Disable deprecation for android.

cocos2d-x 3.x has marked some classes and methods as deprecated.
This cause a lot of warnings when build android.

So add `-Wno-deprecated-declarations ` flags.