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