Brazil prison riot ends with five dead