The average exponent of elliptic curves modulo p