timeutil: added some missing includes
RefCountedObject: corrected an #include, and switched <cstdint> => <stdint.h>
cmlog-test: fixed incorrect side-effects expectation