v.io/x/ref/lib/raft: fix a rare context.CancelFunc leak

We're fixing leaks of context.CancelFunc closures,
which the spec demands must be called.

This change fixes a rare path in raft.Stop(), which failed to
call the CancelFunc if the raft instance had never been started
after creation.

Change-Id: I1c9e99029cc2007f11f5b42b6ba0bc76cb8d3bea
diff --git a/lib/raft/raft.go b/lib/raft/raft.go
index 264615f..14fa55b 100644
--- a/lib/raft/raft.go
+++ b/lib/raft/raft.go
@@ -257,6 +257,7 @@
 	r.Lock()
 	if r.role == RoleStopped {
 		r.Unlock()
+		r.cancel() // in case *r never got out of RoleStopped
 		return
 	}
 	r.role = RoleStopped