shared: thread safe initialization of nm_utils_get_monotonic_timestamp*()

nm_utils_get_monotonic_timestamp*() inherrently use static data. Let's
initialize it in a thread safe manner.

nm_utils_get_monotonic_timestamp*() are a fundamental utility function
that should work correctly in all cases. Such a low level function should
be thread safe.
5 jobs for th/monotonic-timestamp-cleanup in 8 minutes and 38 seconds (queued for 3 seconds)