hal: Implement KeQueryPerformanceCounter.