Gold consolidates after a three-day gain as the U.S. dollar and Treasury yields edged higher, with investors weighing concerns over higher inflation and slower growth.