msp430: fix missing members in `struct tm`

Closes #1150.
sys: add utility functions for `struct tm`
Add `struct tm` utility "test"