Conditionalize cxfa_layoutitem_embeddertests.cpp based on LEAK_SANITIZER

A recent chromium email describes this as a best practice for tests
that still leak.

Change-Id: Ib714d0b00fad0076fea38234f1603dd77520bd01
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/54132
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp b/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp
index 89b47b2..d98eea3 100644
--- a/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp
+++ b/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp
@@ -7,7 +7,7 @@
 
 class CXFALayoutItemEmbedderTest : public EmbedderTest {};
 
-#if defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
+#if defined(LEAK_SANITIZER)
 
 // Leaks. See https://crbug.com/pdfium/1265
 #define MAYBE_Bug_1265 DISABLED_Bug_1265