libglusterfsclient: Make stat resolve all symlinks
libglusterfsclient: Make stat resolve all symlinks

We want to resolve even nested symlinks when calling stat,
therefore, we need to depend on realpath-like functionality
and not just a readlink.

Signed-off-by: Anand V. Avati <6a1810c170bd423868ce2e225ecea39d80cade0f@amp.gluster.com>

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster