lazutils: reduced dependencies of LazFileUtils

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41851 4005530d-fff6-0310-9dd1-cebe43e6787f
Fix pointer cast

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41852 4005530d-fff6-0310-9dd1-cebe43e6787f