platform: msm_shared: Fix the ram ptable

Update the ram ptable v2 based on the latest layout and
fix if else condition to use only v2 ramptable if available.

Change-Id: I5bdcdb341b61291efa7e8665258dbc74a43066da
diff --git a/platform/msm_shared/smem.h b/platform/msm_shared/smem.h
index 0edfac6..218fc38 100644
--- a/platform/msm_shared/smem.h
+++ b/platform/msm_shared/smem.h
@@ -561,9 +561,8 @@
 	uint32_t type;          /* RAM Partition type: system, bootloader, appsboot, apps etc. */
 	uint32_t num_partitions;/* Number of memory partitions */
 	uint32_t hw_info;       /* hw information such as type and frequency */
+	uint64_t reserved;      /* Reserved for future use */
 	uint64_t available_length; /* Available partition length in RAM in bytes */
-	uint64_t reserved4;
-	uint64_t reserved5;     /* Reserved for future use */
 } __attribute__ ((__packed__));
 
 struct smem_ram_ptable {