fixed #1829: changed cc.AudioEngine.end to static function

changed cc.AudioEngine.end to static function