Hadronic origin of the pion mass