fix compilation with DEBUG
fix clock_gettime(CLOCK_MONOTONIC)

This was broken by a8ec0d492e1b3480ea13e4da1468fccb0a86c207, it returned
network time instead of monotonic.
initialize armed field in created timers
invalidate cached time on adjtimex(ADJ_SETOFFSET)