[libvirt PATCH v2 03/56] util: add API for reading password from the console