[libvirt] [PATCHv4 1/2] util: ensure safe{read, write, zero} return is checked