files.el: check for switch-to-buffer-in-tab before using it