Minor modifications to multiple source and header files based on Coverity report Change-Id: I4a73d0f56640983c4d5124e13c8c280245cca672 Signed-off-by: Apurv Mishra <apurv.mishra@amd.com> [ROCm/ROCR-Runtime commit: 699d0140be]
699d0140be