libedit: import snapshot 2021-09-10
(cherry picked from commit 91f764172e197c82efa97a66cfbc13d2c744b02b)