Fix timestamp math for platforms without _POSIX_MONOTONIC_CLOCK
Fix timestamp math for platforms without _POSIX_MONOTONIC_CLOCK

Pretty much a rebase https://github.com/tmm1/stackprof/pull/122

tmm1/stackprof,tmm1/stackprof,tmm1/stackprof,tmm1/stackprof