Influence of the thickness of the CoFe layer on the negative spin-valve effect in CoFe/Ag/CoFeGd trilayers