Implement RegSetKeySecurity on top of NtSetSecurityObject.