meson: Improve std::thread availability test

It appears gcc11 exposes the std::thread type but can't take a pointer
to method, which is the only way we care about for now.
Fix #408
8 jobs for !586 with fix_cpp_thread_detection in 4 minutes and 25 seconds (queued for 2 seconds)
latest merge request