Gold demand fell for a third year on a slump in purchases from China, costing the country its place as the world’s biggest buyer