xapian-bridge C port

endlessm/eos-sdk#2463
Yeah; it is really a fatal error though and I didn't want all of the other calls check for this one returning NULL and dealing with it gracefully. I will just remove the lines following `g_error`