perf_counter: powerpc: Fix two compile warnings