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

Maybe `st_old_valid` could be removed and replaced in this line with `buf->b_ffname != NULL`.
The variable name is at least confusing: there is no `struct stat` that can be valid and the `FileInfo` is not valid at this point.