s390/topology: use for_each_set_bit to simplify the code