Gold retreats 20% from record as central bank buying slows