Fix build MacOsDebug for Audit and REALM_SYNC disabled (#5498)
Fix build MacOsDebug for Audit and REALM_SYNC disabled (#5498)

* Fix build for Audit when REALM_SYNC is disabled (terminate if audit is enabled and sync disabled)
realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core