ipmi: fix statistics counting issues