xen/setup: Combine the two hypercall functions - since they are quite similar.