s3: libsmb: internal_resolve_name() - get rid of the icount variables.