remove unused constants (Kamil Rytarowski)
Avoid overflowing the "year" value by making the field uint64_t. Adaptarguments and local variables accordingly.This now fixes PR 49144 for real.
Add a slightly stripped down version of sys/dev/clock/clock_subr.h to makethis code available for tools.