Gold extends gains on dovish Fed, weak dollar