[libvirt] [PATCH 1/3] build: move readline check into its own macro