M&S finance chief quits to join Primark-owner AB Foods