Fix rtr_mgr hashtable include and spki table memory alloc

Fix memory leak in ht-spkitable.c