dpif-netdev: Fix use-after-free in port_unref().