[PATCH v2 2/3] selftests: coredump: Fix test failure for slow machines