weechat: don't patch HEAD

Fix inreplace command so it only runs on the stable release and not git release

Closes #34866.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
weechat: add test
weechat: fix test
weechat: update 1.0.1 bottle.