Add `weechat-buffer-p'.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>