Add missing initialisations (v9.16)
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 715a2c7f)
Edited by Ondřej Surý