[libvirt] [PATCH 1/7] configure: split common header and function checks