Fix handling of unsupported mbed devices

Corrected so that unsupported mbed devices will be detected, and a message printed to the log. Rather than pyOCD raising an exception and dying.