fixed #2034:make CCUserDefault compatible with previous version on Android and iOS