Gold hits 6-month peak on waning risk appetite