gold hits five-month high on rising geopolitical tensions