zdir now resistant to all file types

A directory full of symlink caused a zlist full of NULL. When the comparison
hook was called, no check was performed on the pointer's validity. Now it
doesn't segfault.
Merge pull request #481 from jfsmig/JFS-zdir-20140518

zdir now resistant to all file types