Gold post first monthly decline since May, down 3.4% over August