uses of hcl in gold ore processing