Fix indirect import in webgateway

Remove unused import from gateway and fix indirect imports of that name

This is a follow-up to #2251 that had initially removed the import from `omero.gateway` without fixing the reference in `omeroweb.webgateway.views`.