Remove unnecessary code which breaks compile on other than linux.

The thread cpu timer is adopted from performance timer code for
linux. There is no implementation for other platforms, but the old
functions were left around leading to duplicate symbols when linking.

Removed these and renamed 'default' dummy functions.