task/affinity - improve logic for Power7 without hyperthreading

Without this change, allocations less than a whole node can result
in an incorrect task binding for power7 processors