Adjust PTHREAD...INITIALIZERS to use proper type.  For C++ this caused
issues for 4.9 gcc
(cherry picked from commit 41c6187ff187d81d5126f783565dbdbc4fbdfdbe)