[sanitizer] support recursive rwlocks in bitset-based deadlock detector