Remove unused function arguments from tls_int_new_record_layer