libsmbconf: allow NULL sharename in smbconf_share_exists().