Revert "Switch to CLOCK_MONOTONIC_RAW instead of CLOCK_REALTIME"

This reverts commit 253a57741890df90092e4ab4dce543804f03919b.