raft: return error for ApplyConfChange

for #1100