[PATCH v2 9/9] domain_conf.c: move idmapEntry checks to validate callback