[graph-tool] Memory address changing when accessing an edge of the graph