LoRa: Stop processing MAC commands if command id is unknown
LoRa: Stop processing MAC commands if command id is unknown

The length of a MAC command is not explicitly given and must be
implicitly known by the MAC implementation. Therefore unknown MAC
commands cannot be skipped and the first unknown MAC command
terminates the processing of the MAC command sequence.

This commit fixes the bug where MAC command processing was not
terminated when unknown MAC command was received.

mbedmicro/mbed,c1728p9/mbed-os,mbedmicro/mbed,andcor02/mbed-os,andcor02/mbed-os,kjbracey-arm/mbed,c1728p9/mbed-os,mbedmicro/mbed,mbedmicro/mbed,andcor02/mbed-os,mbedmicro/mbed,andcor02/mbed-os,c1728p9/mbed-os,c1728p9/mbed-os,kjbracey-arm/mbed,andcor02/mbed-os,c1728p9/mbed-os,kjbracey-arm/mbed,c1728p9/mbed-os,kjbracey-arm/mbed,andcor02/mbed-os