PAPI Profiling support.

This adds support for PAPI based SCoP profiling. Using it still
requires a runtime library.