* helm-dabbrev.el (helm-dabbrev--same-major-mode-p): Take one arg that
  allow passing current-buffer.