Bypass npth_unprotect/protect when npth has not yet been initialized.
* src/npth.c (initialized_or_any_threads): New variable. (npth_init): Set var. (npth_create): Set var. (npth_unprotect, npth_protect): Shortcut if not initialized. * w32/npth.c (initialized_or_any_threads): New variable. (npth_init): Set var. (npth_unprotect, npth_protect): Shortcut if not initialized.
- Signed-off-by: Werner Koch <wk@gnupg.org>