platform: msm_shared: assert if buffer is not NULL

Check if it is not successfully malloced the buffer.

CRs-Fixed: 687723
Change-Id: I4749c4f37caaa85dcc1e387305bdfe2f1c2e409b
1 file changed