Pass struct instead of copy by value.

We pass the struct to avoid copy by value
of ds1631_t.
Get rid of uneeded local ds1631_t in ds1631.c
More cleanup changes to come.