SWDEV-1 - Fix Windows build
SWDEV-1 - Fix Windows build

std: :mem_fun() is removed in c++17. Simplify logic to not require it.
Change-Id: Ic9a4753b48dd13fcb20cd5b90ff73c3df3211b9f

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