On the relation between scattering amplitudes and finite-size mass corrections in QFT