[s3]libsmbconf: add utility function smbconf_is_writeable_bystring()