An analogue of the Gauss summation formula for hypergeometric functions related to root systems