Gold rises marginally as Iran-US deal optimism offsets dollar strength