Gold prices gain as dollar eases against yen