Two nonprofits are set to receive $12.5 million from the philanthropist. For one of them, the unrestricted grant sets a new record.