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.

Closes #23737.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>