Fix: GetSdr nextRecord can not reach lastRecord

The output of `ipmitool sdr elist` is missing the last
fru message because nextRecord can not reach lastRecord

Tested: `ipmitool sdr elist' works as expected

Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: I2862166e5ab161cee33a59857749d13823e13cbf
1 file changed