Fix scheduler support check
Fix scheduler support check

Commit 94cc577807ba tried fixing build on systems that did not have
SCHED_BATCH or SCHED_IDLE defined.  But instead of changing it to
conditional support, it rather completely disabled the support for
setting any scheduler.  Since then, such old systems are not
supported, but rather than reverting that commit, let's change that to
the conditional support.  That way any addition to the list of
schedulers can follow the same style so that we're consistent in the
future.

Signed-off-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>

eskultety/libvirt,jardasgit/libvirt,taget/libvirt,jardasgit/libvirt,taget/libvirt,crobinso/libvirt,libvirt/libvirt,jardasgit/libvirt,zippy2/libvirt,eskultety/libvirt,andreabolognani/libvirt,taget/libvirt,taget/libvirt,nertpinx/libvirt,zippy2/libvirt,fabianfreyer/libvirt,libvirt/libvirt,taget/libvirt,jfehlig/libvirt,jardasgit/libvirt,jfehlig/libvirt,crobinso/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,jfehlig/libvirt,andreabolognani/libvirt,eskultety/libvirt,zippy2/libvirt,VenkatDatta/libvirt,olafhering/libvirt,zippy2/libvirt,datto/libvirt,nertpinx/libvirt,eskultety/libvirt,datto/libvirt,VenkatDatta/libvirt,datto/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,fabianfreyer/libvirt,eskultety/libvirt,andreabolognani/libvirt,olafhering/libvirt,datto/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,libvirt/libvirt,olafhering/libvirt,andreabolognani/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,olafhering/libvirt,fabianfreyer/libvirt,datto/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,nertpinx/libvirt,libvirt/libvirt