[PATCH 5.10 107/112] vt: fix memory overlapping when deleting chars in the buffer