On asymptotic approximations of first integrals for a class of nonlinear oscillators