Convert sal/osl/unx/tempfile.c to C++

...for easier future maintenance

Change-Id: I501076882daa7f36f414f9fa62f790eb85ac3259