Fix last change: Only set gcrypt thread callback for older versions.