[PATCH 5.4 09/16] selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn