sys/cbor,tests: fix cbor daylight saving time

Some member of `struct tm val` were not set, resulting in undefined behavior.

Fixes https://github.com/RIOT-OS/RIOT/issues/1597

Remark: I have not checked whether the test makes sense semantically.