Use atomics for the the iterators number of isc_hashmap_t
This is a follow-up MR from #4328 (closed).
Concurrent threads can access a hashmap for reading by creating and then destroying an iterator, in which case the integer number of the active iterators is increased or decreased from different threads, introducing a data race. Use atomic operations to protect the variable.