tls: remove the deprecation for tls.createSecurePair

In #8695, the deprecation was removed from doc.
Remove the deprecation from code now.