SWDEV-280089 - nullptr was getting added into MemObj
SWDEV-280089 - nullptr was getting added into MemObj

Change-Id: Ica56126156198140a143182de3d93d86730cadf1

ROCm-Developer-Tools/ROCclr,ROCm-Developer-Tools/ROCclr