On the mass-metallicity relation, velocity dispersion, and gravitational well depth of GRB host galaxies