Avoided deforestation could send $38 billion to third world under global warming pact