Italian food giant Barilla is offering to buy a plant from indebted rival Pasta Zara as it seeks to boost production capacity.