Synchronize libedit with NetBSD
It incorporates and fixes our patches to get el_gets return the proper count of characters in unicode mode.