Brazil changes course, now says it welcomes Amazon aid