xapian: fix python bindings with system Python

Closes #33085. Fixes #33082.
Don't raise in mach_data so the debugger doesn't catch it

Closes #33088.