Gold edges lower as equities, dollar gain