Add pomiarcpu(), a function to get CPU cycle count.

Tested only on Linux x86_64, no idea how it will behave on other
architectures or Windows.

Taken from thread on Stackoverflow[1].

[1] http://tinyurl.com/odfvvoa