libc: skip spurious stat in _gettemp
It was only done to catch ENOTDIR, but the kernel already returns the error where appropriate.