mesh: Fix message replay protection
mesh: Fix message replay protection

The Mesh Profile Specification states that replay protection must be
done for all control and access messages. Furthermore, the replay
protection list must be updated with the sequence from the last
segment of a segmented message (the code was only updating based on
SeqZero).

X-Original-Commit: fe6073cd2534f1e7d4120cf8119d16a8b4e4eb12

apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble