End of aging as a probe of finite-size effects near the spin-glass transition temperature