Measurement of the total cross section from elastic scattering in pp collisions at s=8 TeV with the ATLAS detector