network: don't enable gcrypt thread callbacks when gcrypt recent enough