[PATCH 5.1 34/40] net/tls: fix state removal with feature flags off