Fix for memory leak detected in hipModule*load [SWDEV:250740]
Fix for memory leak detected in hipModule*load [SWDEV:250740]

Change-Id: I8c4930b64764620a896079b14b27f6f87fbad292

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