Fix awk(1) asorti() implementation to work when called in a loop.

MFC after:	3 days
X-MFC-to:	stable/10, stable/9


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f