[PATCH 10/12] domain_validate.c: make virDomainDeviceDefValidateInternal() helpers static