Gold prices firm as US dollar eases