why is lime used in gold mining