Fix APR_INCOMPLETE error in root-pools-test under Windows.

* subversion/tests/libsvn_subr/root-pools-test.c
  (thread_func): explicitly end thread


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1527144 13f79535-47bb-0310-9956-ffa450edef68