CLOCK_MONOTONIC_RAW fix

A dumb fix for irungentoo/ProjectTox-Core#879.
NOTE: this is not meant to be merged into mainline, it's just a proof of concept.