[libvirt] [PATCH 12/23] virfile: Add helpers for reading simple values