configuring with --enable-mutex-atomics flagged these incorrectly initialised variables on systems where pthread_mutex_init doesn't just zero out the structure. (cherry picked from commit 715a2c7fc1)
715a2c7fc1