fstree: replace lstat with stat

Fixes mingw cross-compilation. lstat() doesn't exist on win32.

It seems to me that stat() is the right function there, to return
informations about the file it refers to.

Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: David Gibson <[email protected]>
1 file changed