Gold down for the month, but gains for the first half of the year