ptunit: use GetTempPath() and GetTempFileName() instead of _tmpnam()
ptunit: use GetTempPath() and GetTempFileName() instead of _tmpnam()

Use GetTempPath() and GetTempFileName() on Windows systems instead of _tmpnam().
This isn't any less racy but it now places temporary files into the appropriate
directory.

Change-Id: I5aa24dcefb16b6ec93aa667f00f04db7a0e96539
Signed-off-by: Markus Metzger <5f675b2b36595f90898e014b548ff7d9bbff2ab7@intel.com>

01org/processor-trace,01org/processor-trace,01org/processor-trace