add a test to check st_size upon lstat() on symlinks

posix says that lstat on a symlink should cause st_size to be set to the
length of the pathname contained in the symlink, not including any
terminating null byte. assert that this is the case.

ok marco@