Gold nears a fresh 7-year high as dollar softens