asan: fix compilation errors in mutex