[mr3096] Merge compiler directives for NOTSAFE_SEMAPHORE_OVERHANDLING.

Note: Locking in SpellAuraHolder still needed.