Set global hash table pointers to NULL on cleanup

Makes the debugging experience here just a little bit better, and also makes the asserts in the hash table helpers trigger, instead of just segfaulting so we know what's going on.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Part-of: <!828>
20 jobs for !828 with hash-table-global-null in 36 minutes and 9 seconds (queued for 2 seconds)
latest merge request