groonga: fix regression with upstream patch.

Closes #34920.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
groonga: update 4.0.8 bottle.
thrift: optional libevent for non-blocking support

Closes #34891.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>