[PATCH 5.4 110/215] vt: fix memory overlapping when deleting chars in the buffer