Fix github issue #14321 - Thread end device (Requestor) crashes if it cannot reach the Provider (#14712)
Fix github issue #14321 - Thread end device (Requestor) crashes if it cannot reach the Provider (#14712)

* Fix github issue #14321

* Updates from PR suggestions

* Restyled by whitespace

* Restyled by clang-format

* Add verify or die calls to Discovery_ImplPlatform.cpp

Co-authored-by: Restyled.io <eb8d3fd3977bb570908ffc25e24391520747defb@restyled.io>
nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip