Fix build on non-linux platforms after another VIR_AUTOPTR patches
Fix build on non-linux platforms after another VIR_AUTOPTR patches

Caused by commit f7d0663d49. The problem is missing libnl library on
these platforms, so the VIR_DEFINE_AUTOPTR_FUNC has to be compiled in
conditionally.

Signed-off-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>

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