gold gains for fourth straight session as dollar falls