libsmbconf: move registry_smbconf_valname_forbidden() to the registry backend