Set processor group and affinity mask for thread(s), similar to GNU taskset