[PATCH 6/7] lxcDomainDetachDeviceFlags: Parse XML twice rather than use virDomainDeviceDefCopy