Gold miners are increasing production as prices hit new records. Rising costs present challenges despite higher revenues.