clock: add bson_get_monotonic_time()

Fetches the monotonic time for a system if available. The fallback
uses the wallclock time.

Time is in microseconds.