[PATCH 4/5] Use virNodeDeviceObjEndAPI() more