Useful to write and reproduce tests that depend on specific time factors. This API allows to fake the timespec provided by clock_gettime() by using a small shim osmo_clock_gettime().
Choose the clock you want to override, for instance CLOCK_MONOTONIC.
If the clock override is disabled (default) for a given clock, osmo_clock_gettime() will do the same as regular clock_gettime().