[PATCH openEuler-5.10 19/30] ipmi:watchdog: Set panic count to proper value on a panic