[libvirt PATCH 2/3] nodedev: refactor virMediatedDeviceGetIOMMUGroupNum()