Power-dependent line-shape corrections for quantitative spectroscopy