dpif-netdev: Use hmap instead of list+array for tracking ports.