Fix switch-to-buffer advice API (new optional argument in Emacs 24)
Require Emacs version >= 24