ipmi_bmc_sim: Fix off by one in check.