etcdserver: extract check from applyConfChange