Bluetooth: Mesh: Fix sequence number restoring
Bluetooth: Mesh: Fix sequence number restoring

The logic for restoring the sequence number was flawed in that it
would not always cause an incremented sequence write upon the
transmission of the first packet. The reason the code didn't work is
that it assumed the stored value was a multiple of SEQ_STORE_RATE,
however since the sequence number is stored in a deferred fashion
that's not always true.

Signed-off-by: Johan Hedberg <628991c7b0a19c384f9b99c21ec330ce952bb838@intel.com>

ldts/zephyr,zephyriot/zephyr,finikorg/zephyr,kraj/zephyr,explora26/zephyr,finikorg/zephyr,finikorg/zephyr,Vudentz/zephyr,punitvara/zephyr,mbolivar/zephyr,explora26/zephyr,galak/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,finikorg/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,mbolivar/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,kraj/zephyr,ldts/zephyr,explora26/zephyr,Vudentz/zephyr,galak/zephyr,ldts/zephyr,galak/zephyr,Vudentz/zephyr,ldts/zephyr,nashif/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,ldts/zephyr,kraj/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,zephyriot/zephyr,punitvara/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,zephyriot/zephyr,explora26/zephyr,zephyriot/zephyr,kraj/zephyr,punitvara/zephyr,mbolivar/zephyr,mbolivar/zephyr,Vudentz/zephyr,mbolivar/zephyr,nashif/zephyr,galak/zephyr