Gold prices edge lower as equities, dollar gain