etcdserver: fix data race in retrieving self stats

@unihorn thoughts?
supersedes #1315, #1313
take a look now