stdlib: switch to upstream freebsd atexit

Change-Id: If8b245142bf501c41db54fd5ce4f5075682e0296