Move CTF-Writer stream to CTF-IR

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