define unrecord-window-buffer if Emacs doesn't have it