[libvirt] [PATCH 6/9] check-spacing: rewrite regex for checking the closing parenthesis