Ganges water will be shared as per treaty: FM Mahmud