Add CTF Writer Clock serialization code

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>