Change default type of libu8 mutexes to be error checking