peer: don't load channels on connect that are still pending
peer: don't load channels on connect that are still pending

This commit modifies the peer struct’s loadActiveChannels method to
ensure that it skips over channels that aren’t actually active. This
fixes a bug that could possibly cause a peer to get stuck in a circular
wait loop and also de-sync a channel’s state machine.

AndrewSamokhvalov/lnd,AndrewSamokhvalov/lnd,ddustin/lnd,aakselrod/lnd,aakselrod/lnd,ddustin/lnd,LightningNetwork/lnd,LightningNetwork/lnd