stat: move header declarations from iolog.h