Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share via an uri