Gold gains as dovish Fed language cools dollar rally