Refactor mutex LOCK/UNLOCK macros due to clash with symbols in msp430 bsp