cmake: Allow thread checks to fail and fall back to nothreads

Closes: #2155


git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@1843653 13f79535-47bb-0310-9956-ffa450edef68
1 file changed