Averaging almost periodic functions along exponential sequences