[PATCH 4.19 079/175] vt: fix memory overlapping when deleting chars in the buffer