Update watchdog timer code from DragonFly.
Update watchdog timer code from DragonFly.

From sephe@DragonFly

ok mglocker@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars