tls: reorder tls_state fields for smaller offsets