[PATCH v2 18/35] qemuDomainGetLaunchSecurityInfo: Move flag check to top level