procd: fix wrap around bug in logread time handling code