Pion Loops in Chiral Perturbation Theory and Light-Front Dynamics