Raise Exception() on Ice-mismatch (Fix #10346)

Duplicate the check from `omero/plugins/admin.py` in
`omero/clients.py` so that trying to create a client object
fails.