test: change mktemp options
test: change mktemp options

FreeBSD flavor of mktemp doesn't support --directory nor --tmpdir
Using -d and full template name makes it work fine on both OSes.

Signed-off-by: Tadeusz Struk <ac7da5bc34fbda078ba4af5ef710d2a59a2316f5@intel.com>

01org/tpm2.0-tools,01org/tpm2.0-tools,01org/tpm2.0-tools