Make the pthread_mutex_t configure test fail on gcc warnings.