tests/hwloc_backend: mingw misses mkstemp
tests/hwloc_get_last_cpu_location: remove unused #include