ppc64_cpu: Core state should depend on all threads
ppc64_cpu: Core state should depend on all threads

A core should be considered running when any thread is online.  The
previous test only looked at the first thread on a core, now we loop
through all cores in the core in question.

Signed-off-by: Joel Stanley <4816dabf8db1bc6cac35b3a24cab2ff844b5b0c7@jms.id.au>

kamalesh-babulal/powerpc-utils,mdroth/powerpc-utils,leitao/powerpc-ibm-utils-debian,leitao/powerpc-ibm-utils-debian,shenki/powerpc-utils,mdroth/powerpc-utils,leitao/powerpc-ibm-utils-debian,shenki/powerpc-utils,shenki/powerpc-utils,kamalesh-babulal/powerpc-utils,mdroth/powerpc-utils,kamalesh-babulal/powerpc-utils