Gaussian hypergeometric functions and traces of Hecke operators