[RFC] fix #1027: :wundo segfault in new, non-empty buffer

Not sure about the placement here. Maybe it should go in `test/functional/ex_wundo_spec.lua`. I lean towards flat, hyper-hierarchy is annoying.