[PATCH v2 4/9] domain_conf.c: move vendor, product and tray checks to validate callback