Brazilian indigenous groups have been gathering in protest against the construction of a proposed hydroelectric dam in the Amazon rainforest.