Use pthread_setname_np only if available
Use pthread_setname_np only if available

Some systems, including Windows, do not have pthread_setname_np.
At other occurences of this function in our code we guard it
and we also provide Apple implementation.

redhatrises/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,mpreisler/openscap,mpreisler/openscap,redhatrises/openscap,mpreisler/openscap,jan-cerny/openscap,mpreisler/openscap,redhatrises/openscap,redhatrises/openscap,mpreisler/openscap,OpenSCAP/openscap,OpenSCAP/openscap,jan-cerny/openscap,jan-cerny/openscap,jan-cerny/openscap,mpreisler/openscap,OpenSCAP/openscap,jan-cerny/openscap,jan-cerny/openscap,redhatrises/openscap,redhatrises/openscap