[PATCH 15/23] virshGetOneDisplay: Refactor formatting of URI params