Gold extends gains, silver tops Rs 38,000