exposed callback type for hsa_iter_agents