etcdserver: fix data race in retrieving self stats

@unihorn thoughts?
supersedes #1315, #1313
I hate panics :-(