tests/hwloc_backends: fix mkstemp() warning about unused result

Thanks to Jirka Hladky for reporting the warning.