French president says world leaders nearing agreement on how to help battle blazes and repair damage, though it's unclear whether Brazil will accept offer