MSP: Make Node::out_edges() thread-safe

Unfortunately, cgraph is not thread-safe. In particular, out_edges() was
causing segfaults through parallel use.