twrp: Unmap super devices before entered fastbootd

* Both Non-AB and AB devices without TW_LOAD_VENDOR_MODULES flag,
  flashing logical partition got error in fastbootd

Change-Id: I5128ce7c3c79d45de95ff649e35652cbf7eb84cb
Signed-off-by: Col_or <color597@outlook.com>
diff --git a/twrp.cpp b/twrp.cpp
index b257780..eedc581 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -108,11 +108,9 @@
 static void process_fastbootd_mode() {
 		LOGINFO("starting fastboot\n");
 
-#ifdef TW_LOAD_VENDOR_MODULES
-		if (android::base::GetBoolProperty("ro.virtual_ab.enabled", false)) {
+		if (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
 			PartitionManager.Unmap_Super_Devices();
 		}
-#endif
 
 		gui_msg(Msg("fastboot_console_msg=Entered Fastboot mode..."));
 		// Check for and run startup script if script exists