issue #3069: Update ios/CCDevice.mm.
issue #3025: replace Node call Director::getInstance() to Node::getDirector()