[PATCH 5.10 407/529] ktest.pl: Fix missing "end_monitor" when machine check fails