[PATCH 6.6 039/331] tls: extract context alloc/initialization out of tls_set_sw_offload