This patch fixes a bug which prevents building libthr without _PTHREADS_INVARIANTS defined.
The default remains to build libthr with -D_PTHREADS_INVARIANTS. However, with this patch,
if one builds libthr with WITHOUT_PTHREADS_INVARIANTS=true then the latency to acquire+release
a default pthread mutex is reduced by roughly 5%, and a robust mutex by roughly 18% (as measured
by a simple synthetic test on a Xeon E5-2697a based machine).
It's not clear to me if using src.conf to control the libthr build in this way is desirable, so please advise.
Also, this is my first contribution via reviews.freebsd.org, so it's not clear to me if I have correctly filled out this request.