[PATCH v2 2/9] domain_conf.c: move primary video check to validate callback