Solve compilation problem when BLE/GATT/SMP features are false

bug 8664724
Change-Id: I582846ccf4b8995f298d8db533488fceb7993ae3
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index 5a7cccd..f947e84 100644
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -479,6 +479,7 @@
     }
     else
     {
+#if BLE_INCLUDED == TRUE
         int device_type;
         int addr_type;
         bdstr_t bdstr;
@@ -489,6 +490,7 @@
         {
             BTA_DmAddBleDevice(bd_addr->address, addr_type, BT_DEVICE_TYPE_BLE);
         }
+#endif
         BTA_DmBond ((UINT8 *)bd_addr->address);
     }
     /*  Track  originator of bond creation  */