[ipv6] Handle netdev parameter being non-null in ipv6_tx