lib/test_rhashtable: Make test_insert_dup() allocate its hash table dynamically