Swap `HashSet`s with custom `Hash` in debug_sync for `HashMap`s