virtio-serial: fix heapover-flow