Fix Check_Lifetime_Writes on AB devices

Change-Id: Ie1904d9c48639e8ac9f95d9d2dfb1d965c571928
diff --git a/partition.cpp b/partition.cpp
index ee34686..acf382a 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -3045,7 +3045,9 @@
 	Mount_Read_Only = true;
 	if (Mount(false)) {
 		Find_Actual_Block_Device();
-		string block = basename(Actual_Block_Device.c_str());
+		string temp = Actual_Block_Device;
+		Find_Real_Block_Device(temp, false);
+		string block = basename(temp.c_str());
 		string file = "/sys/fs/" + Current_File_System + "/" + block + "/lifetime_write_kbytes";
 		string result;
 		if (TWFunc::Path_Exists(file)) {