Use values from attributes for DateTime tag.

The library uses values from attributes for DateTime tag if found in the attribute set. This is to
fix the bug when there is a DateTime tag from java side, jhead library will write multiple DateTime
tags.

bug:5766177
Change-Id: I3b3e1e4f881247ed777037f4cf0743e1d6e03bfd
3 files changed