<p>Gold was heading for its first monthly advance since February after Japan intervened to support the yen, causing the US dollar to weaken.</p>