Influence of the interface on the electronic channel switching of a Fe–Ag thin film on a Si substrate