gold futures edge up, as dollar falls, oil surges