utf8_prev() will walk backwards unless it sees a non-continuation byte,
but this is dangerous in the face of malformed UTF-8 input. In
particular, delete() will copy the skipped-over bytes into a
heap-allocated buffer, d_char, which is fixed at 5 bytes.
Make utf8_prev() refuse to step more than four bytes backward, to avoid
the overflow in delete().
Fixes: 62fba0054d9e ("ee: add unicode support")
Reported by: Sayono Hiragi