[PATCH 5.0 097/117] xen: Prevent buffer overflow in privcmd ioctl