[SROA] Cleanup - remove the use of std::mem_fun_ref nonsense and use