util: move os_time.[ch] to src/util