Also export UNAME_r to fix arm builds.

MFC after:	3 days
X-MFC-with:	r270417
Sponsored by:	The FreeBSD Foundation