Gold Set for Best Month Since January as Stock Market Rout Lifts Safe Haven