The role of serpentinization in magnetizing the Noachian crust of Mars