tests:tpm2dtests: Fix tests with SWTPM.
* configure.ac (TEST_LIBTSS): Fix the condition with SWTPM. * tests/tpm2dtests/start_sw_tpm.sh: Use --daemon and --pid to run SWTPM.
Cherry-picked from master commit of:
98dd6f7af6aa3dcce19f20c22e3f825676e6b184
- GnuPG-bug-id: T6052
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>