raft: panic if loaded commit is out of range