[PATCH 5.18 143/231] net/tls: Check for errors in tls_device_init