Restore old behavior of get-window-with-predicate and get-buffer-window-list.