A novel approach to investigate chemical inhomogeneities in GRB host galaxies: the Zabs–Zemiss relation