[PATCH] virpci: Stop writing out of bounds in virPCIDeviceReadClass()