libvirt: Fix Mavericks build issues

The typedef for xdrproc_t was changed in Mavericks. This change makes it
build again on Mavericks however this change is backwards compatible
with older versions.