virttest.utils_misc: Add verify_host_dmesg() function.