S-wave π-production in nucleon-nucleon collisions: Finite-mass corrections