perf tools: Convert getpagesize() uses to sysconf(_SC_GETPAGESIZE)