[JSB master] Fixing crash of invoking 'cc.registerStandardDelegate'.