Fix build on gcc >= 10 (#5566)
Fix build on gcc >= 10 (#5566)

The build would fail on gcc 10 because of memset called on
an array of objects whose default constructor initializes
a member with a non-zero value.
nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip