net/slirp: fix leaks on forwarding rule registration error