Made cmark_free_nodes non-recursive.

See #187.