raft: panic if loaded commit is out of range

for #1715 
It will be followed-up one to ensure that commitIndex never decrease