sal/osl/unx/security.c -> .cxx

Change-Id: If8dbfa3e26a02ac3d5ee0077f730eeca4b59c4d7
coverity#1194930 Avoid TOCTOU between access and mkdir

Change-Id: I6567313abdacd06b59f7004c970b954a4b42419e