[sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build.