tools/ctdb: Pass memory context for returning nodes in parse_nodestring