[libvirt] [PATCHv3 2/7] qemu: monitor: Extract handling of JSON block job error codes