[sanitizer] minimal support for recursive locks indeadlock detector