platform: msm_shared: Add ASSERT for the dynamically allocated pointers.
platform: msm_shared: Add ASSERT for the dynamically allocated pointers.

Add ASSERT for the pointers like ept, reg and epts in case they were not
allocated successfully before using.

CRs-Fixed: 687723
Change-Id: I5fdbb34153a77e56f0fb4ef8506f2e2f03513cff

efidroid/lk,CanarySolutions/little-kernel,efidroid/lk,Foxda-Tech/polaris-bootable-bootloader-lk,Foxda-Tech/polaris-bootable-bootloader-lk,CanarySolutions/little-kernel,efidroid/lk,Foxda-Tech/polaris-bootable-bootloader-lk,efidroid/lk,efidroid/lk,Foxda-Tech/polaris-bootable-bootloader-lk,Foxda-Tech/polaris-bootable-bootloader-lk,CanarySolutions/little-kernel,CanarySolutions/little-kernel,CanarySolutions/little-kernel