eventloop: Fix deadline for timers.

If a timer is added while the deadline is not determined yet, the new
deadline only takes the new timer into account. This prevents execution
of other timers that should be run sooner.