Fix dependencies for Hive connector

A normal connector should not depend on presto-main. Doing so requires
careful vetting of all dependencies to avoid class loader issues.