Magna agrees to buy Swedish driver technology firm Veoneer f