Exchange bias in FeNi/FeMn/Gd–Co trilayers: The role of the magnetic prehistory