Gas rarefaction effects in nonlinear acoustic wave steepening