msp430: workaround: define errno values if not provided by MSP430 lib

Alternative to #1007