Enable priority-inheritance for primitives based on pthread_mutex_t. Based on work by Till Straumann <till.straumann@psi.ch>