xapian-bridge C port

endlessm/eos-sdk#2463
Also, `gio-2.0` should specify `>= 2.40` since I think GSubprocess is the newest API used.