[RFC v3 2/2] powerpc/selftest: Add support for cpuidle latency measurement