[openEuler-5.10 224/557] selftests: kvm: fix mismatched fclose() after popen()