[libvirt] [PATCH] Be consistent with setlocale error handling