fix double free bug

Addresses #340.
It is. That was exactly the cause of the double free -- we need to keep an additional ref count for the last element (which is still in the stream buffer) as the buffer content will be `gt_genome_node_delete`d by the stream destructor. In the case of an error, both the visitor and the stream will try to delete this node.