SKYH4-2065,RDKB-27949 : Harden CcspWifi for corrupted data structures
SKYH4-2065,RDKB-27949 : Harden CcspWifi for corrupted data structures

Reason for change: It was noted that the data structures returned from
wifi_getNeighboringWiFiDiagnosticResult2 and
wifi_getApAssociatedDeviceDiagnosticResult3 can be partially filled in the
event of an error during processing. In these case, we will drop the data
altogether and free up any allocated memory to be safe.

Test Procedure: Verify that CcspWifi does not exhibit any issues during
diagnostic or neighboir data collection.

Risks: Low

Signed-off-by: Scott Angel <89a2ae939387fe04bb0312406c31d690544e2e03@comcast.com>
(cherry picked from commit 6350d9175c2b3dbb4bd573d433eaf6c0644a6ae5)
Change-Id: I37dc81e23a1638350023dc909f6e2cccfa9a70b3

rdkcmf/rdkb-CcspWifiAgent,rdkcmf/rdkb-CcspWifiAgent,rdkcmf/rdkb-CcspWifiAgent