devel/kore: Add missing KORE_NO_TLS guards
This fixes the build with OpenSSL 1.1.1 when TLS=off.
PR: 231931 Obtained from: upstream