Make sure the list of HSA agents  is valid
Make sure the list of HSA agents  is valid

If HIP_VISIBLE_DEVICES is active, then make sure the list of HSA
agents contains the valid agents

Change-Id: I584aad999a230ab7f88a0cfe20dcd0abe79c43a5

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