* fix for standalone '~' with HOME=/ on Unix

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23499 3ad0048d-3df7-0310-abae-a5850022a9f2
  * fix testing for empty HOME directory or HOME pointing to root on Unix

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23500 3ad0048d-3df7-0310-abae-a5850022a9f2