Magmatic influence on reaction paths and element transport during serpentinization