Win32: fix checkout problem with directories exceeding MAX_PATH

The lstat_cache in symlinks.c checks if the leading directory exists using
PATH_MAX-bounded string operations, which fails if a directory is longer
than 259 characters.

Signed-off-by: Karsten Blees <blees@dcon.de>