Lowlevel mutex implementation for libc on Linux/SH.