qcacld-3.0: Enable NBUF_MEMORY_DEBUG for SLUB builds

Network buffer debugging is being featurized as a separate feature from
regular memory debugging, and being controlled via the NBUF_MEMORY_DEBUG
build config flag. Enable NBUF_MEMORY_DEBUG for SLUB DEBUG builds to
retain the existing set of build time debug features.

Change-Id: Ib2ac2823ea5231508f4cca7d718ed266acd91274
CRs-Fixed: 2216804
diff --git a/Kbuild b/Kbuild
index 3bb2cff..ff79014 100644
--- a/Kbuild
+++ b/Kbuild
@@ -2012,14 +2012,13 @@
 	CDEFINES += -DWLAN_SUSPEND_RESUME_TEST
 endif
 
-ifeq ($(CONFIG_SLUB_DEBUG_ON),y)
-CDEFINES += -DTIMER_MANAGER
-CDEFINES += -DMEMORY_DEBUG
-CDEFINES += -DCONFIG_HALT_KMEMLEAK
-endif
-
 ifdef CONFIG_LEAK_DETECTION
-	CDEFINES += -DCONFIG_LEAK_DETECTION
+CDEFINES += \
+	-DCONFIG_HALT_KMEMLEAK \
+	-DCONFIG_LEAK_DETECTION \
+	-DMEMORY_DEBUG \
+	-DNBUF_MEMORY_DEBUG \
+	-DTIMER_MANAGER
 endif
 
 ifeq ($(HAVE_CFG80211),1)