Brazil's government faces near unanimous condemnation over its attempt to punish journalist Glenn Greenwald for revealing its corrupt investigation practices.