[PATCH 6.1 022/197] tls: extract context alloc/initialization out of tls_set_sw_offload