[PATCH v2] Kernel selftests: TPM2: upgrade TPM2 tests from Python 2 to Python 3