Correlation between the signs of the magnetoresistance and of the interlayer coupling in MnGa/(Mn,Ga,As)/MnGa trilayers