Reorder initialization of local vars in `weechat-mode'.

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