net/i40e: fix memory allocation for hash table