Profiling: measure time on non-Windows/POSIX using clock_gettime (wip)

PowerPC CPU profiling was only enabled on Windows (using QueryPerformanceCounter). Try to do the same thing using POSIX clock_gettime.
Yes, the extern "C" is not strictly necessary. I was trying to stay close to the Windows API but it 's not really useful.