Use ChainedBuffer/HasChainedBuffer in preference to raw ->next. (#5399)
Use ChainedBuffer/HasChainedBuffer in preference to raw ->next. (#5399)

Less explicit casting involved, if nothing else.
nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip