qemu-char: avoid leaking unused fds in tcp_get_msgfds()