Ensure STK500 sequence number is wrapped as required.