vircgroupv1: fix build on non-linux OSes
vircgroupv1: fix build on non-linux OSes

Cgroups are linux specific and we need to make sure that the code is
compiled only on linux.  On different OSes it fails the compilation:

../../src/util/vircgroupv1.c:65:19: error: variable has incomplete type 'struct mntent'
    struct mntent entry;
                  ^
../../src/util/vircgroupv1.c:65:12: note: forward declaration of 'struct mntent'
    struct mntent entry;
           ^
../../src/util/vircgroupv1.c:74:12: error: implicit declaration of function 'getmntent_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    while (getmntent_r(mounts, &entry, buf, sizeof(buf)) != NULL) {
           ^
../../src/util/vircgroupv1.c:814:39: error: use of undeclared identifier 'MS_NOSUID'
    if (mount("tmpfs", root, "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC, opts) < 0) {
                                      ^
../../src/util/vircgroupv1.c:814:49: error: use of undeclared identifier 'MS_NODEV'
    if (mount("tmpfs", root, "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC, opts) < 0) {
                                                ^
../../src/util/vircgroupv1.c:814:58: error: use of undeclared identifier 'MS_NOEXEC'
    if (mount("tmpfs", root, "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC, opts) < 0) {
                                                         ^
../../src/util/vircgroupv1.c:841:65: error: use of undeclared identifier 'MS_BIND'
            if (mount(src, group->legacy[i].mountPoint, "none", MS_BIND,
                                                                ^

Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Signed-off-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

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