[Chapel Merge] Add qthreads configure changes from 18272

Branch: refs/heads/main
Revision: 15f1d5f
Author: ronawho
Log Message:

Merge pull request #18408 from ronawho/qt-commit-configure-18272

Add qthreads configure changes from 18272

[reviewed by @bradcray]

I forgot to commit the generated configure changes in #18272 and only
noticed while testing out the qthreads 1.17 release candidate.

Modified Files:
M third-party/qthread/qthread-src/configure

Compare: https://github.com/chapel-lang/chapel/compare/59923ae332e0...15f1d5f9cc05