daemon: consolidate variable declarations and initializaions
- improve readability by breaking apart single-line multi-variable declarations
- initialize simple variables at declaration site
- move other top-level variable initializations closer declarations to avoid potential UB and unclutter the use-site.
Reviewed by: kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/669