cpusets: avoid looping when storing to mems_allowed if one node remains set